package com.yt.product.models.entity;

import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

/**
 * 保险产品表实体类
 *
 * @author yuanxinwen
 * @Date 2025-10-30 16:12:52
 */
@Data
@TableName("insurance_product")
public class InsuranceProduct {
    @TableId(value = "product_id", type = IdType.AUTO)
    private Integer productId;
    
    @TableField("product_name")
    private String productName;
    
    @TableField("type_attr_id")
    private Integer typeAttrId;
    
    @TableField("min_amount")
    private BigDecimal minAmount;
    
    @TableField("max_amount")
    private BigDecimal maxAmount;
    
    @TableField("min_term")
    private Integer minTerm;
    
    @TableField("max_term")
    private Integer maxTerm;
    
    @TableField("pay_ratio")
    private BigDecimal payRatio;
    
    @TableField("description")
    private String description;
    
    @TableField("status")
    private Integer status;
    
    @TableField("is_delete")
    private Integer isDelete;
    
    @TableField("create_time")
    private Date createTime;
    
    @TableField("update_time")
    private Date updateTime;
}